package com.tanhua.dubbo.server.pojo;

import com.tanhua.dubbo.server.vo.Option;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * 试题表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "st_question")
public class Question implements java.io.Serializable {
    private String id; //题目编号
    private String question;//题目内容
    private Integer type; //题目类型     1：初级    2：中级    3：高级
    private List<Option> options;//题目选项集合
}

